package com.sanqi.work.service;

import java.util.List;
import com.sanqi.work.domain.WorkUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 员工Service接口
 * 
 * @author duany
 * @date 2025-09-24
 */
public interface IWorkUserService extends IService<WorkUser>
{
    /**
     * 查询员工
     * 
     * @param id 员工主键
     * @return 员工
     */
    public WorkUser selectWorkUserById(String id);

    /**
     * 查询员工列表
     * 
     * @param workUser 员工
     * @return 员工集合
     */
    public List<WorkUser> selectWorkUserList(WorkUser workUser);

    /**
     * 新增员工
     * 
     * @param workUser 员工
     * @return 结果
     */
    public int insertWorkUser(WorkUser workUser);

    /**
     * 修改员工
     * 
     * @param workUser 员工
     * @return 结果
     */
    public int updateWorkUser(WorkUser workUser);

    /**
     * 批量删除员工
     * 
     * @param ids 需要删除的员工主键集合
     * @return 结果
     */
    public int deleteWorkUserByIds(String[] ids);

    /**
     * 删除员工信息
     * 
     * @param id 员工主键
     * @return 结果
     */
    public int deleteWorkUserById(String id);
}
